package com.dyw.demoapi.service;

import com.dyw.demoapi.dto.MailDTO;
import com.dyw.demoapi.entity.MailUser;
import org.cuit.epoch.result.Result;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Devil
 * @since 2022-03-05
 */
public interface MailUserService {
    Result save(MailUser mailUser);

    Result<MailUser> selectUserById(Integer id);

    Result<MailUser> selectUserByInfo(MailUser mailUser);

    Result<List<MailUser>> selectUserList();

    Result<String> sendMail(MailDTO mailDTO);
}
